package cn.com.dao;

import cn.com.domain.Order;
import cn.com.domain.Room;

import java.util.List;

public interface OrderDao {
    int findOrderTotalCount();
    List<Order> findorderByPage(int start, int rows);
    Order findOrderbycustomer_name(String customer_name);

    void delteOrderbyid(String ouid);
    void alterOrderbyid(Order order, String id);
    boolean addOrder(Order order);

    double findpriceByorder_room_name(String order_room_name);

    void delteOrderbyroomName(String roomname);

    void changIsChecked(String id, String ischeck);
}
